<?php echo form_open_multipart(uri_string())?>    
<?php $item = $query;?>
    <table class="form">
        
       <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('file_image_cat_code');?></td>
            <td><input type="text" name="code" id="code" class="w250" value="<?php echo $item->code;?>"></td>
        </tr> 
         <tr>
            <td class="required label" style="width: 150px;"><?php echo lang('file_image_cat_name');?></td>
            <td><input type="text" name="name" id="name" class="w250" value="<?php echo $item->name;?>"></td>
        </tr> 
       
        <tr>
            <td colspan="2" align="center">
                <input type="submit" name="bt_submit" value="" class="capnhat">
            </td>
        </tr>  
    </table>
<?php echo form_close()?>